// 封装所有的接口信息

import http from "@/utils/http";

// 轮播图接口
export const getBannerListApi = (params) => http.get("/banner/list", params);
// 产品列表接口
export const getProListApi = (params) => http.get("/pro/list", params);
// 详情页接口
export const getDetailApi = (id, params) =>
  http.get("/pro/detail/" + id, params);
